<script>
import Storage from "utils/storage";
export default {
  onLaunch: function () {
    uni.getSystemInfo({
      success: function (res) {
        console.log("设备信息", res);
        Storage.setStorage("windowWidth", res.windowWidth);
        Storage.setStorage("windowHeight", res.windowHeight);
      },
    });
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  },
};
</script>

<style lang="scss">
/*每个页面公共css */
@import "uview-ui/index.scss";
</style>
